﻿<table class="display dataTable">
    <thead>
        <tr role="row">
            <th>Mã dịch vụ</th>
            <th>Tên dịch vụ</th>
            <th>Đơn giá</th>
            <th>Quản lý</th>
        </tr>
    </thead>
    <tbody>
        @{foreach (var DVKS in ViewBag.DVKS)
          {
            <tr class="odd">
                <td>
                    <div class="nonDisplay">
                        <input type="text" class="maDichVu" value="@DVKS.maDichVu"/>
                    </div>@DVKS.maDichVu</td>
                <td>
                    <div class="nonDisplay" id="nameDV@{@DVKS.maDichVu}">
                        <input type="text" class="tenDichVu DV@{@DVKS.maDichVu}" value="@DVKS.tenDichVu"/>
                    </div>
                    <div id="nameDVV@{@DVKS.maDichVu}">@DVKS.tenDichVu</div>
                </td>
                <td>
                    <div class="nonDisplay" id="giaDV@{@DVKS.maDichVu}">
                        <input type="text" class="donGia giaDV@{@DVKS.maDichVu}" value="@DVKS.donGia"/>
                    </div>
                    <div id="giaDVV@{@DVKS.maDichVu}">@DVKS.donGia</div>
                </td>

                <td>
                    <div>
                        <img class="editDV" id="@DVKS.maDichVu" src="../Images/icon_edit.png">
                        <img class="deleteDV" id="@DVKS.maDichVu" src="../Images/icon_delete.png">
                        <img class="save_editDV nonDisplay" id="@DVKS.maDichVu" src="../Images/checkmark2.png">
                        <img class="cancel_editDV nonDisplay" id="@DVKS.maDichVu" src="../Images/cross.png">
                    </div>
                </td>
            </tr>
          }
        }
    </tbody>
</table>
